﻿using System;

using SIG.Model;
using SIG.Data;
using SIG.Data.UnitOfWork;
using SIG.Infrastructure.Cache;

namespace SIG.Repository
{
    public class PageMetaRepository : Repository<PageMeta>, IPageMetaRepository
    {
        IMainBCUnitOfWork _unitOfWork;
        private ICacheService _cacheService;
        public PageMetaRepository(IMainBCUnitOfWork unitOfWork, ICacheService cacheService)
            : base(unitOfWork)
        {
            if (unitOfWork == (IMainBCUnitOfWork)null)
                throw new ArgumentNullException("unitOfWork");
            if (cacheService == (ICacheService)null)
                throw new ArgumentNullException("cacheService");
            this._unitOfWork = unitOfWork;
            this._cacheService = cacheService;
        }
             
    }
}
